﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
namespace ScormModel.View
{
    [Serializable()]
    public class RollUpRuleView
    {
        string _Id;
        string _Description;
        string _ConditionMode;
        string _ConditionAction;
        string _ChildActivitySet = "";
        string _MinimumCount = "";
        string _MinimumPercent ="";
        ObservableCollection<ConditionActionView> _listConditionAction = new ObservableCollection<ConditionActionView>();
        public string Id
        {
            get { return this._Id; }
            set { this._Id = value; }
        }
        public string Description
        {
            get { return this._Description; }
            set { this._Description = value; }
        }
        public string ConditionMode
        {
            get { return this._ConditionMode; }
            set { this._ConditionMode = value; }
        }
        public string ConditionAction
        {
            get { return this._ConditionAction; }
            set { this._ConditionAction = value; }
        }
        public string ChildActivitySet
        {
            get { return this._ChildActivitySet; }
            set { this._ChildActivitySet = value; }
        }
        public string MinimumCount
        {
            get { return this._MinimumCount; }
            set { this._MinimumCount = value; }
        }
        public string MinimumPercent
        {
            get { return this._MinimumPercent; }
            set { this._MinimumPercent = value; }
        }
        public ObservableCollection<ConditionActionView> ListConditionAction
        {
            get { return this._listConditionAction; }
            set { this._listConditionAction = value; }
        }
    }
}
